package com.penjin.android.message.company;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.penjin.android.R;
import com.penjin.android.view.CustomProgressDialog;
import com.penjin.android.view.TitleBarView;

/**
 * 显示已绑定的企业
 * Created by Administrator on 2016/3/11.
 */
public class ShowCompanyInfoActivity extends Activity {

    TitleBarView titleBarView;
    CustomProgressDialog progressDialog;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_activity_show_company_info);
        initView();
    }


    private void initView() {
        titleBarView = (TitleBarView) findViewById(R.id.titleBarView);
        titleBarView.setTitleBarListener(new TitleBarView.TitleBarListener() {
            @Override
            public void left(View view) {
                finish();
            }

            @Override
            public void center(View view) {

            }

            @Override
            public void right(View view) {

            }
        });
        progressDialog = CustomProgressDialog.createDialog(this);
        progressDialog.setMessage("请稍后...");
    }
}
